using System;
using System.Collections.Generic;
using System.Text;

namespace Web.Core.Objects
{
    public class Review
    {
        #region inter
        int _rID, _pID, _mID;

        public int MID
        {
            get { return _mID; }
            set { _mID = value; }
        }

        public int PID
        {
            get { return _pID; }
            set { _pID = value; }
        }

        public int RID
        {
            get { return _rID; }
            set { _rID = value; }
        }
        string _rTitle, _rContent, _dateadded;

        public string Dateadded
        {
            get { return _dateadded; }
            set { _dateadded = value; }
        }

        public string RContent
        {
            get { return _rContent; }
            set { _rContent = value; }
        }

        public string RTitle
        {
            get { return _rTitle; }
            set { _rTitle = value; }
        }
        #endregion inter
        public Review()
        { }
        public Review(int rID,int pID,int mID, string rTitle, string rContent,string dateadded)
        {
            this.RID = rID;
            this.PID = pID;
            this.MID = mID;
            this.RTitle = rTitle;
            this.RContent = rContent;
            this.Dateadded = dateadded;
        }
    }
}
